Profile

Cover photo
nitin niraj
Worked at Student
Attended DAV PUBLIC SCHOOL GANDHINAGAR
Lives in pune
221 followers|205,019 views
AboutPostsVideos

Stream

nitin niraj

General Discussion  - 
 
Hi all, I am trying to create a stored process which will perform CRUD operations without using ajax. I am stuck while posting the form data. Is there any reference using which I can do this or any code sample reference just for Idea.
1
Add a comment...

nitin niraj

Discussion  - 
 
I have a problem . I updated ubuntu 12.10 source list. Now whenever I am trying to install something I am getting error. Package has no installation candidate.  Package is not available and is referred by another package. Is there a way to remove this . Any help would be appreciated.
1
Add a comment...
 
I have a problem . I updated ubuntu 12.10 source list. Now whenever I am trying to install something I am getting error. Package has no installation candidate.  Package is not available and is referred by another package. Is there a way to remove this . Any help would be appreciated.
1
nitin niraj's profile photohugo venhorst's profile photoAndrew Woodhead's profile photo
5 comments
 
I'd do a clean install of Xenial. It is released in April and you can enjoy LTS til April 2021. 
Add a comment...

nitin niraj

Enterprise BI Server  - 
 
JavaScript alert is not working in my macro. Following is the code snippet.
%let message ='1234';
Data null;
File _webout;
Put "<script type='text/javascript'>alert(" ' !! "&message" !!' ")</script>";
Run;

When this piece of code runs i don't get any alert nor any other error. Any help would be appreciated thanks.
1
Add a comment...

nitin niraj

Discuss  - 
 
Hello Everyone, I was going through multiple inheritance in Python. I tried going through different tutorials for this. But I am confused as how exactly the keyword "Super" works along with multiple inheritance. Any help would be appreciated. Thanks in advance.
2
Marc Rintsch's profile photoClaes Lindahl's profile photoWayne Werner's profile photo
3 comments
 
+Claes Lindahl​ +1 for Raymond h's Super considered Super talk. Another good name for it would be "How I learned to stop worrying and love the Super"

Definitely changed how I view super
Add a comment...

nitin niraj

Discuss  - 
 
Hello everyone, 
I am currently working on a python application which runs fine on 32 bit machine. Now I have to move to 64 bit . The problem which I am currently facing is the data from the database is not fetched properly here but If I run the same query on 32 bit machine it works. I am using pyodbc. When I fetch data I get -1 as my row count. I have installed IBM I series access odbc driver. I have installed that in 
C:\windows\SysWow64\odbcad32.exe but there is no luck. Can anyone explain me why I am getting as -1 in rowcount or what could be a possible reason for this. Thanks in advance.
1
Gustav Hartvigsson's profile photo
 
Serialise the data into text strings and then deserialise it on the other end.
Add a comment...

nitin niraj

Discuss  - 
 
I am using odbc.pyd (C:\\Python27\\lib\\site-packages\\win32\\odbc.pyd'). Now what I want that in my python code where I am doing my connection as 
 con = odbc.odbc("%s/%s/%s" % (settings.DSN, settings.UID, settings.PW)) I want to add one more parameter for UTF-8. But if i do that my program  fails and gives the error. I  want to implement UTF-8 with this connection. Any help would be appreciated.
1
Judah Devasahayam (OBStudio)'s profile photo
Add a comment...
Have him in circles
221 people
krunal patel's profile photo
ranjana soni's profile photo
Deep J Lahiri's profile photo
Devidas Shinde's profile photo
Rising Concept Solutions's profile photo
Tishta Ganguly's profile photo
Gloria Randell's profile photo
saurav srivastava's profile photo
SaNJAY Marki's profile photo

nitin niraj

Discussion  - 
 
I have a problem . I updated ubuntu 12.10 source list. Now whenever I am trying to install something I am getting error. Package has no installation candidate.  Package is not available and is referred by another package. Is there a way to remove this . Any help would be appreciated.
1
Gonzalo Velasco C.'s profile photo
 
Put the srandard repos plus the PPA you need. Remove alien repos from sources list.
Add a comment...

nitin niraj

Discuss  - 
 
hI Python Community

I am working on Python Django and Trying to create a virtual environment. The problem which I am facing is with installing MySQL in virtual environment. I am getting the error mysql_config not found.
Steps which i followed for this is:
1. sudo apt-get build-dep python-mysqldb
2. cd ~/lib/python-environments
virtualenv --distribute --no-site-packages default
pip install -E default/ MySQL-python.

I have followed all the steps but I am getting the same error. I am clueless with this error. Any help would be appreciated.
1
Jochen Schnelle's profile photoMario Gonzalez's profile photonitin niraj's profile photo
11 comments
 
+Mario Gonzalez  I am, trying to create a project for me . Self learning. So the moment I tried to configure mysql in settings file. I started getting the error related to mysql_config. I tried all the solutions which I found on the internet. But nothing worked for me. The moment I try to update or installing libmysqldev client. I found half of the dependencies were not working. That's the reason I asked does ubuntu 12.10 is creating the problem.
Add a comment...

nitin niraj

Discussion  - 
 
Hi all I am getting object expected error. I followed post and pages regarding this. The solutions which I got was to add type='text/JavaScript'. I did and still there is no success for this error.

The problem occurs when i try to delete a record via ajax. I got error at get_chunk('delete',0). Object expected. This function does not work and because of this my record does not delete. Any help would be appreciated. Thanks in advance.
1
Martin Smola's profile photo
 
Without showing some related code you are unlikely to get any help. What params does get_chunk expect? 
Add a comment...

nitin niraj

Need Help (QnA)  - 
 
Hi I am trying to create a database connection using mysqli with following code:
<?php
$hostname = 'XXX.XXX.XXX.XX';
$user = 'XXXXXXXXX';
$password = 'XXXXX';

$connection = mysqli_connect($hostname, $user, $password);
?>

I am getting error as  Warning: mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. in C:\wamp\www\check_server.php on line 6

I have disabled the firewall and I have changed the port. I am not getting any mysql error in mysqlerror.log (It is blank)

May I know what I am missing ? Any help would be appreciated.
1
Carlos Andres Chavez Lopez's profile photonitin niraj's profile photoWeb Rewrite's profile photomuhammad mubasher's profile photo
13 comments
 
allow access on your remote machine for your IP to access database. 
Add a comment...

nitin niraj

Database  - 
 
Hi everyone I am working on python 2.7 and I am trying to fetch data from database. So when I execute a query it returns -1L. Following is my code

def getResults(conn, sql):
    #pdb.set_trace()
    cur = conn.cursor()
    lines = cur.execute("{%s}" % (sql))
    result = []
    #result = cur.fetchone()
    while  lines > -1:
        row = cur.fetchone()
        if row == None: break
        print row
        result.append(row)
    cur.close()
    cur=None
    nresult = [].append
    pdb.set_trace()
    for r in result:
        nrow = [].append
        for e in r:
            if isinstance(e, unicode):
                e = e.encode('utf8')
            nrow(e)
        nresult(tuple(nrow.__self__))
    return nresult.__self__

here lines return -1L . If I run the query which  is here on database it returns a row. Can you please help me on this. Any help would be appreciated.
1
nitin niraj's profile photoMarc Poulin's profile photoAnselm Scholz's profile photo
7 comments
 
Why not go for a for loop like for element in cur: ...
Add a comment...
People
Have him in circles
221 people
krunal patel's profile photo
ranjana soni's profile photo
Deep J Lahiri's profile photo
Devidas Shinde's profile photo
Rising Concept Solutions's profile photo
Tishta Ganguly's profile photo
Gloria Randell's profile photo
saurav srivastava's profile photo
SaNJAY Marki's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
pune
Previously
ranchi
Links
Work
Employment
  • Student
Education
  • DAV PUBLIC SCHOOL GANDHINAGAR
Basic Information
Gender
Male
Apps with Google+ Sign-in
  • GodRun